#ifndef __LED_PLAT_H__
#define __LED_PLAT_H__

struct led_plat_data
{
	//哪个灯
	char * led_name;
	//设备节点
	char * dev_name;
	//次设备号
	unsigned int minor;

	//RCC
	unsigned int RCC_PLL4CR_SET;//(1 << 0)
	unsigned int RCC_PLL4CR_TEST;//(1 << 1)
	unsigned int RCC_MP_AHB4ENSETR_SET;//(1 << 4) | (1 << 5)
	//GPIO
	unsigned int GPIO_MODER_RESET;
	unsigned int GPIO_MODER_SET;
	unsigned int GPIO_OTYPER_RESET;
	unsigned int GPIO_OSPEEDR_RESET;
	unsigned int GPIO_ODR_RESET;
	unsigned int GPIO_ODR_SET;
};

#endif